Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SocketsHttpHandler connection metrics #88893

Merged
merged 4 commits into from
Jul 14, 2023
Merged

Conversation

MihaZupan
Copy link
Member

Closes #84978

Implements the following counters (final names TBD):

  • http-client-current-connections
  • http-client-current-idle-connections
  • http-client-connection-duration

Unlike the description from #84978, I dropped the reason tag from http-client-connection-duration as it feels out of place on the duration counter, and it's not clear what values we'd want to report.

Merge conflicts with #88853 are expected.

@MihaZupan MihaZupan added this to the 8.0.0 milestone Jul 14, 2023
@MihaZupan MihaZupan self-assigned this Jul 14, 2023
@ghost
Copy link

ghost commented Jul 14, 2023

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Closes #84978

Implements the following counters (final names TBD):

  • http-client-current-connections
  • http-client-current-idle-connections
  • http-client-connection-duration

Unlike the description from #84978, I dropped the reason tag from http-client-connection-duration as it feels out of place on the duration counter, and it's not clear what values we'd want to report.

Merge conflicts with #88853 are expected.

Author: MihaZupan
Assignees: MihaZupan
Labels:

area-System.Net.Http

Milestone: 8.0.0

@MihaZupan
Copy link
Member Author

/azp run runtime-libraries-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@antonfirsov antonfirsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a few questions and suggestions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[API Proposal]: HttpClient/HttpMessageInvoker metrics
2 participants